﻿using System;

namespace Sunny.Util.Attributes
{
    public class HasPermissionAttribute:Attribute
    {
        /// <summary>
        /// 权限码
        /// </summary>
        public string Code { get; set; }

        public HasPermissionAttribute(string code)
        {
            this.Code = code;
        }
    }
}